package com.uduemc.biso.core.common.feign.fallback;

import org.springframework.stereotype.Component;

import com.uduemc.biso.core.common.dto.CBMastermanageAppend;
import com.uduemc.biso.core.common.feign.CMasterUserFeign;
import com.uduemc.biso.core.utils.RestResult;

import feign.hystrix.FallbackFactory;

@Component
public class CMasterUserFeignFallback implements FallbackFactory<CMasterUserFeign> {

	@Override
	public CMasterUserFeign create(Throwable cause) {
		return new CMasterUserFeign() {

			@Override
			public RestResult userAppend(CBMastermanageAppend cBMastermanageAppend) {
				return null;
			}

			@Override
			public RestResult userInfo(String username, String numberKey, short status, short loginNode, int pageNumber,
					int pageSize, String orderByString) {
				return null;
			}
		};
	}

}
